CVE-2023-52762
virtio-blk: fix implicit overflow on virtio_max_dma_size
Description
In the Linux kernel, the following vulnerability has been resolved: virtio-blk: fix implicit overflow on virtio_max_dma_size The following codes have an implicit conversion from size_t to u32: (u32)max_size = (size_t)virtio_max_dma_size(vdev); This may lead overflow, Ex (size_t)4G -> (u32)0. Once virtio_max_dma_size() has a larger size than U32_MAX, use U32_MAX instead.
INFO
Published Date :
May 21, 2024, 4:15 p.m.
Last Modified :
Sept. 23, 2025, 7:36 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected kernel packages.
- Update all affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52762.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52762 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52762
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52762 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52762 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 23, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-190 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.64 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.15.140 Added Reference Type CVE: https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9 Added Reference https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48 Added Reference https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b Added Reference https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 Added Reference https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: virtio-blk: fix implicit overflow on virtio_max_dma_size The following codes have an implicit conversion from size_t to u32: (u32)max_size = (size_t)virtio_max_dma_size(vdev); This may lead overflow, Ex (size_t)4G -> (u32)0. Once virtio_max_dma_size() has a larger size than U32_MAX, use U32_MAX instead. Added Reference kernel.org https://git.kernel.org/stable/c/72775cad7f572bb2501f9ea609e1d20e68f0b38b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/472bd4787406bef2e8b41ee4c74d960a06a49a48 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/017278f141141367f7d14b203e930b45b6ffffb9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d667fe301dcbcb12d1d6494fc4b8abee2cb75d90 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/fafb51a67fb883eb2dde352539df939a251851be [No types assigned]